#include "list.h"

template <class T>
void printList(const mySpace::list<T>& lt)
{
	mySpace::list<T>::const_iterator it = lt.begin();
	while (it != lt.end())
	{
		cout << *it << " ";
		++it;
	}
	cout << endl;
}

void testList1()
{
	mySpace::list<int> lt;
	lt.push_back(1);
	lt.push_back(2);
	lt.push_back(3);
	printList(lt);
}

int main()
{
	testList1();
	return 0;
}